import {createRouter,createWebHashHistory} from 'vue-router'


const router = createRouter({
    history: createWebHashHistory(),
    routes:        
    [
        {
            path: '/',
            redirect: '/dashboard',
        },
        {
            path: '/login',
            name: 'login',
            component: () => import('@/views/login/index.vue') 
         },
       
         {
                path: '/404',
                name: '404',
                component: () => import('../pages/404.vue')
        }
    ]
})


export default router
